package org.cfx.auth.service;

import jakarta.servlet.http.HttpServletRequest;
import org.cfx.auth.domain.dto.LoginDto;
import org.cfx.org.domain.Employee;
import org.cfx.org.domain.dto.EmployeeDto;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author RTX 9090
 */
@Repository
public interface ILoginService {
    Map<String, Object> login(LoginDto loginDto) throws Exception;

    EmployeeDto login2(LoginDto loginDto, HttpServletRequest request) throws Exception;
}
